package com.bwie.mapper;

import com.bwie.common.GetNum;
import com.bwie.common.domain.*;
import com.bwie.common.domain.request.GroupRequest;
import com.bwie.common.domain.request.GroupUserRequest;
import com.bwie.common.domain.request.MerchantRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: GroupMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: 张雨乐
 * @date: 2025/10/1 16:19
 */
@Mapper
public interface GroupMapper {
    List<Merchant> merchantList(MerchantRequest merchantRequest);
    List<Group> groupList(GroupRequest groupRequest);


    List<Dish> dishList(@Param("groupId") String groupId);

    List<GroupUser> groupUser(GroupUserRequest groupUserRequest);

    void groupUserAdd(GroupUserRequest groupUserRequest);

    List<GetNum> getNum(@Param("id") String id);
}
